<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>
<s:head theme="ajax"/>
</head>
<body>
	<center>
		<font style="color: #5b8cd9; font-size: 15px">직원 등록</font>
		<br>
		<form action="/ssteam/admin/sawoninsertok.do" method="post" id="insert_frm">
		<table border="0" width="550" height="450">
			<tr>
				<td width="20%" align="right" bgcolor="ededed">
					<font color="red">*</font>부서
				</td>
				<td width="80%" align="left">
					<select name="deptno">
						<s:iterator value="dlist">
							<option value="${deptno }">${dname}</option>
						</s:iterator>
					</select>
				</td>				
			</tr>
			<tr>
				<td width="20%" align="right" bgcolor="ededed">
					<font color="red">*</font>직급
				</td>
				<td width="80%" align="left">
					<select name="jobno">
						<s:iterator value="jlist">
							<option value="${jobno }">${jname}</option>
						</s:iterator>
					</select>				
				</td>				
			</tr>
			<tr>
				<td width="20%" align="right" bgcolor="ededed">
					<font color="red"></font>사번
				</td>
				<td width="80%" align="left">
					<input type="text" name="sabun" maxlength="7" disabled="disabled" >
				</td>				
			</tr>			
			<tr>
				<td width="20%" align="right" bgcolor="ededed">
					<font color="red">*</font>이름
				</td>
				<td width="80%" align="left">
					<input type="text" name="name">
				</td>				
			</tr>	
			<tr>
				<td colspan="2">
					<hr color="white">
				</td>
			</tr>							
			<tr>
				<td width="20%" align="right" bgcolor="ededed">
					비밀번호
				</td>
				<td width="80%" align="left">
					<input type="password" name="pwd">
				</td>				
			</tr>			
			<tr>
				<td width="20%" align="right" bgcolor="ededed">
					전화번호
				</td>
				<td width="80%" align="left">
					<input type="text" name="tel">
				</td>				
			</tr>
			<tr>
				<td width="20%" align="right" bgcolor="ededed">
					휴대전화
				</td>
				<td width="80%" align="left">
					<input type="text" name="hp">
				</td>				
			</tr>
			<tr>
				<td width="20%" align="right" bgcolor="ededed">
					팩스번호
				</td>
				<td width="80%" align="left">
					<input type="text" name="fax">
				</td>				
			</tr>
			<tr>
				<td width="20%" align="right" bgcolor="ededed">
					이메일
				</td>
				<td width="80%" align="left">
					<input type="text" name="email">
				</td>				
			</tr>												
			<tr>
				<td width="20%" align="right" bgcolor="ededed">
					프로필
				</td>
				<td width="80%" align="left">
					<textarea rows="7" cols="50" name="profile"></textarea>					
				</td>				
			</tr>
			<tr>
				<td width="20%" align="right" bgcolor="ededed">
					프로필 사진
				</td>
				<td width="80%" align="left">
					<%--
					<s:file name="upload" label="프로필 사진" size="50" />
					 --%>	
				</td>				
			</tr>			
			<tr>
				<td colspan="2">
				<s:a formId="insert_frm" theme="ajax" targets="center1" showLoadingText="false">
					<img src="/ssteam/image/admin/sign1.gif" border=0
				onMouseOut='javascript:this.src="/ssteam/image/admin/sign1.gif"
            'onMouseOver='javascript:this.src="/ssteam/image/admin/sign2.gif"' onclick="Sawoncheck()">
				</s:a>
				
				</td>
			</tr>						
		</table>
		</form>
	</center>
</body>
</html>







